#ifndef _CURSOR_H_
#define _CURSOR_H_
 
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
using namespace sf;

class Cursor {
    private:
        RenderWindow &app;
        Sprite sprite;
        Vector2i oldPos;
        Vector2i pos;
        bool enabled;

    public:
        Cursor(RenderWindow &app);
        ~Cursor();
        void Enable();
        void Disable();
        Vector2i &GetPos();
        void HandleMouseEvent(Event event);
        void Update(float dt);
        void Render(RenderWindow &app);
};
 
#endif

